- array
- The one-dimensional array that is the destination of the elements copied from the current collection.
- arrayIndex
- The index at which copying begins.
Visual Basic (Declaration) | |
---|---|
Public Overridable Sub CopyTo( _ ByVal array() As Medical3DObject, _ ByVal arrayIndex As Integer _ ) |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As Medical3DObjectCollection(Of Medical3DObject) Dim array() As Medical3DObject Dim arrayIndex As Integer instance.CopyTo(array, arrayIndex) |
C# | |
---|---|
public virtual void CopyTo( Medical3DObject[] array, int arrayIndex ) |
C++/CLI | |
---|---|
public: virtual void CopyTo( array<Medical3DObject^>^ array, int arrayIndex ) |
Parameters
- array
- The one-dimensional array that is the destination of the elements copied from the current collection.
- arrayIndex
- The index at which copying begins.
For an example, refer to RasterCollection.
Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7